import Routers from "@/router";
import { store } from "@/store";
import { Provider } from "react-redux";
import { createRoot } from "react-dom/client";

import "@ant-design/v5-patch-for-react-19"; // 兼容React19
import zhCN from "antd/es/locale/zh_CN";
import { ConfigProvider } from "antd"; // 引入Ant Design中文语言包
// 全局样式
import "@/common/styles/frame.css";

createRoot(document.getElementById("root")).render(
    <Provider store={store}>
        <ConfigProvider locale={zhCN}>
            <Routers />
        </ConfigProvider>
    </Provider>
);
